<input type="hidden" id="pageSize" name="numPerPage" value="${page.numPerPage}"/>
[#if totalPages > 1]
<nav>
    <ul class="pagination">
        [#list segment as segmentPageNumber]
            [#if segmentPageNumber_index == 0 && segmentPageNumber > firstPageNumber + 1]
                <li class="disabled"><a class="pageBreak" href="#" >...</a></li>
            [/#if]
            [#if segmentPageNumber != pageNumber]
                <li><a  href="javascript: $.pageSkip(${segmentPageNumber});" >${segmentPageNumber}</a></li>
            [#else]
                <li class="active"><a  class="currentPage" href="#">${segmentPageNumber}</a></li>
            [/#if]
            [#if !segmentPageNumber_has_next && segmentPageNumber < lastPageNumber - 1]
                <li class="disabled"><a class="pageBreak" href="#" >...</a></li>
            [/#if]
        [/#list]
    </ul>
</nav>
[/#if]
